var UserClass = /** @class */ (function () {
    function UserClass(firstName, lastName) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.fullName = firstName + lastName;
    }
    return UserClass;
}());
function newUser(name) {
    return 'Hello ' + name.firstName + name.lastName;
}
var myName = new UserClass('Lao', 'zhaocheng');
console.log(newUser(myName));
